package control;

import java.sql.SQLException;

import view.FrmSuppliers;

public class Principal {

	/**
	 * @param args
	 * @throws SQLException 
	 */
	public static void main(String[] args) throws SQLException {
		
		new FrmSuppliers();

//		ShippersDAO shipperdao = new ShippersDAO();
		
//		JOptionPane.showMessageDialog(null, shipperdao.getLastRecord());

//		List<Shippers> resultado = shipperdao.getByFieldValue("shipperid", "%");
//		
//		for (Iterator<Shippers> iterator = resultado.iterator(); iterator
//				.hasNext();) {
//			Shippers p = iterator.next();
//			System.out.println("Shipper ID: " + p.getShipperid());
//			System.out.println("Shipper CompanyName: " + p.getCompanyname());
//			System.out.println("Shipper Phone: " + p.getPhone() + "\n");
//		}

	}

}
